package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yc.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiOperation;
import lombok.Data;

import java.io.Serializable;

/**
 * 考勤详情表;
 * @date : 2023-6-27
 */
@Data
@ApiModel(value = "考勤详情表")
@TableName("attendance_records")
public class AttendanceRecords extends BaseEntity implements Serializable,Cloneable{
    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id ;
    /** 考勤表Id */
    @ApiModelProperty(name = "考勤表Id",notes = "")
    private Integer attid ;
    /** 学生Id */
    @ApiModelProperty(name = "学生Id",notes = "")
    private String stuid ;
    /** 考勤状态 1已到，2请假，3迟到，4早退，5旷课  */
    @ApiModelProperty(name = "考勤状态（1已到2请假3迟到4早退5旷课）",notes = "")
    private Integer status ;
    /** 请假表Id */
    @ApiModelProperty(name = "请假表Id",notes = "")
    private String leaveid ;
}
